package com.wonder.app.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wonder.app.domain.QingPurIn;
import com.wonder.app.domain.QingSfcInstock;
import com.wonder.app.request.QingPurInRequest;
import com.wonder.app.request.QingSfcInstockRequest;
import com.wonder.common.common.AjaxResult;

import java.util.List;
import java.util.Map;

public interface QingPurInService extends IService<QingPurIn> {
    /**
     * 生产订单分页
     * @param qingPurInRequest
     * @param page
     * @return
     */
    public  IPage<QingPurIn> selectList(QingPurInRequest qingPurInRequest, Page<QingPurIn> page);

    /**
     * 导入生产订单
     * @param map
     * @return
     */
    AjaxResult<Object> importOrder(String userName,Long user_id,List<Map<String, Object>> map) throws Exception;

    Map<String, Object> deleteQingPurIn(String userName,Long user_id,Map<String, Object> map)  throws Exception;


    /**
     * 详情Stkotherout
     * @param map
     * @return
     */
    Map<String, Object> getQingPurInDetail(Map<String, Object> map);

}
